package com.xk857.forum.feign;

import com.xk857.feign.IFeignForumController;
import com.xk857.feign.req.UserInfoREQ;
import com.xk857.forum.service.IForumService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author CV大魔王
 * @Description 论坛微服务 Feign 接口实现类
 * @date 2021/2/26 11:21
 */
@Api(value = "论坛微服务Feign接口", tags = "论坛微服务Feign接口")
@RestController
public class FeignForumController implements IFeignForumController {

    @Autowired
    private IForumService forumService;


    @Override
    public boolean updateUserInfo(UserInfoREQ req) {
        return forumService.updateUserInfo(req);
    }
}
